feat(cli): add detection disposition command - #140
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
c3d25e9 to
507fa9b
Compare
|
Thank you for this. It is more than the issue asked for, in the right places. Requiring Supporting Updating both README spots, including the CLI table, is the part people skip. The blocker is the CLA, not the codeAll eight CI checks pass. Comment on this PR with exactly: The bot picks it up and turns the check green. That is the only thing standing between this and review. One heads-up#139 touches the same two files, If you want more after thisThe area you have just walked into is the one that matters most in the next few weeks. Detections have to be triaged or a dogfood week goes red, and until your command exists that is only possible through the dashboard. So this is not a starter task that happens to be open, it is load-bearing. If you want another, #130 is unclaimed: one secret currently produces up to four critical findings because DLP rules overlap and the scanner returns every match. It needs a judgment call about which of four approaches is right, and an argument for one of them would be welcome even without code. And if you know people who enjoy pulling a detection tool apart, please send them this way. The most useful thing anyone sends this project is a report that a rule fired on something legitimate, and there is a standing offer here: a case that makes a rule misfire is worth more than a case that confirms it works. |
|
Gentle nudge, and no pressure attached to it. This is ready apart from one line. All eight CI checks pass. The only red is Nothing else is outstanding. I am not asking for code changes. Worth saying why I am nudging at all rather than waiting quietly. The four-week evaluation clock this project gates its beta on restarted on 2026-08-30, and a week goes red if any detection is left untriaged at the end of it. Closing a detection today needs the dashboard or a raw API call, which is precisely why untriaged findings piled up from one to seven inside a single day last week. Your command is the thing that fixes that, so it is load-bearing rather than a nice addition. If you are busy, that is completely fine and I will triage through the dashboard this week rather than have a deadline of mine become a deadline of yours. The PR keeps its place either way, and I would rather it land with your name on it than rush it. Thanks again for the |
507fa9b to
8bc85ba
Compare
What
Closes #100. Adds shell access for closing audit detections through the existing disposition API.
Fix
Adds
agentmetry disposition <correlation_id> <rule_id>with closing status choices, optional API-key forwarding,AGENTMETRY_URLsupport, and client-side note validation for false positives and accepted risks.Test
Adds CLI parser/client tests for payloads, configured URL/API key, note validation, down-orchestrator handling, and server error rendering.